<html>
<head><meta charset="utf-8"><title>code nav trouble with embedded/no_std · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/code.20nav.20trouble.20with.20embedded.2Fno_std.html">code nav trouble with embedded/no_std</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="192125497"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/code%20nav%20trouble%20with%20embedded/no_std/near/192125497" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Anatol Ulrich <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/code.20nav.20trouble.20with.20embedded.2Fno_std.html#192125497">(Mar 28 2020 at 14:21)</a>:</h4>
<p>Hi! (Hopefully I'm doing this right, never used zulip before).<br>
Doing some embedded dev on an STM32F411, sadly though code navigation ("go to definition") in vscode using rust-analyzer doesn't work for me, completion also behaves rather strangely... is this a known problem? My setup looks like this:<br>
<code>.vscode/settings.json</code>: <code>{"rust-analyzer.cargo-watch.allTargets": false}</code><br>
<code>.cargo/config</code>: <code>https://dpaste.org/9oZW</code><br>
<code>cargo.toml</code>: <code>https://dpaste.org/ZNfR</code><br>
<code>main.rs</code>: <code>https://dpaste.org/NAiC</code></p>



<a name="192125584"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/code%20nav%20trouble%20with%20embedded/no_std/near/192125584" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Anatol Ulrich <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/code.20nav.20trouble.20with.20embedded.2Fno_std.html#192125584">(Mar 28 2020 at 14:23)</a>:</h4>
<p>Ah, someone over at rust-embedded solved it: <code>entry</code> is a procedural macro. Hmmm...</p>



<a name="192127762"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/code%20nav%20trouble%20with%20embedded/no_std/near/192127762" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/code.20nav.20trouble.20with.20embedded.2Fno_std.html#192127762">(Mar 28 2020 at 15:21)</a>:</h4>
<p><a href="https://github.com/rust-analyzer/rust-analyzer/pull/3654" title="https://github.com/rust-analyzer/rust-analyzer/pull/3654">Soon</a> :-)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>